//
//  ActivityViewController.swift
//  SwiftCode
//
//  Created by yuhus on 2023/10/17.
//

import Foundation
import UIKit

final class ActivityViewController: UIActivityViewController {
  override func viewDidLoad() {
    super.viewDidLoad()
    
    view.addSubview(titleLabel)
    titleLabel.snp.makeConstraints { make in
      make.top.equalTo(view.safeAreaLayoutGuide)
      make.centerX.equalToSuperview()
    }
    view.subviews.forEach { view in
      print(#function, "🔴", view)
    }
  }
  
  private lazy var titleLabel: UILabel = {
    let label = UILabel()
    label.textColor = .black
    label.font = .systemFont(ofSize: 16, weight: .black)
    label.text = "Recording"
    return label
  }()
}
